<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>自动埋点</title>
	</head>
	<body>
		<div>自动埋点1</div>
		<div ab-key="abbbbbb">没有targetkey的</div>
		<script src="./dist/index.js"></script>
		<script>
			const autoPoint = new Bpoint({
				reqUrl: 'http://localhost:9000/tracker',
				hashPlugin: true,
				domPlugin: { is: true, options: ['click'], dataKey: 'ab-key' },
				errorPlugin: true
			})
			console.log(ab)
		</script>
	</body>
</html>
